package com.dianpingmedia.simulate.model;

import java.util.Arrays;

public class SimulateMaterialEntity {
    private AdTracking[] adTracking;
    private int material_width;
    private int material_height;
    private int creative_type;
    private String file_md5;
    private String materialSrc;
    private int duration;

    public AdTracking[] getAdTracking() {
        return adTracking;
    }

    public String getMaterialSrc() {
        return materialSrc;
    }

    public void setMaterialSrc(String materialSrc) {
        this.materialSrc = materialSrc;
    }

    public void setAdTracking(AdTracking[] adTracking) {
        this.adTracking = adTracking;
    }

    public int getMaterial_width() {
        return material_width;
    }

    public void setMaterial_width(int material_width) {
        this.material_width = material_width;
    }

    public int getMaterial_height() {
        return material_height;
    }

    public void setMaterial_height(int material_height) {
        this.material_height = material_height;
    }

    public int getCreative_type() {
        return creative_type;
    }

    public void setCreative_type(int creative_type) {
        this.creative_type = creative_type;
    }

    public String getFile_md5() {
        return file_md5;
    }

    public void setFile_md5(String file_md5) {
        this.file_md5 = file_md5;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }
    @Override
    public String toString() {
        return "SimulateMaterialEntity{" +
                "adTracking=" + Arrays.toString(adTracking) +
                ", material_width=" + material_width +
                ", material_height=" + material_height +
                ", creative_type=" + creative_type +
                ", file_md5='" + file_md5 + '\'' +
                '}';
    }


    public static class AdTracking {
        private int tracking_event;
        private String[] tracking_url;

        public int getTracking_event() {
            return tracking_event;
        }

        public void setTracking_event(int tracking_event) {
            this.tracking_event = tracking_event;
        }

        public String[] getTracking_url() {
            return tracking_url;
        }

        public void setTracking_url(String[] tracking_url) {
            this.tracking_url = tracking_url;
        }

        @Override
        public String toString() {
            return "AdTracking{" +
                    "tracking_event=" + tracking_event +
                    ", tracking_url=" + Arrays.toString(tracking_url) +
                    '}';
        }
    }
}
